<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace backend\controllers;

use Yii;
use yii\web\Controller;

/**
 * Description of TestController
 *
 * @author zhige
 */
class TestController extends Controller{
    //put your code here
    public function actionIndex(){
        $key = 'Flash';
//        Yii::$app->session->setFlash($key, 'value');
        var_dump(Yii::$app->session->getFlash($key));
//        echo 'ok';
        exit();
        
        return $this->render('index');
    }
    
    public function actionMain(){
        
    }
}
